import logger from './logger.js';
module.exports  = {
	http : {
		port: 3001,
		host : '0.0.0.0'
	},
	debug: false,
	database: {		
		'url' : 'mysql://root:123456@127.0.0.1:3306/xxx',
		'dialect': 'mysql',
        'username': 'root',
        "password": '',
        "database": '',
        'host': '127.0.0.1',
        'port': 3306,
		
		'params': {
			'timezone' : '+08:00' ,
            "dialectOptions": {
                charset: "utf8mb4",
                collate: "utf8mb4_unicode_ci",
                supportBigNumbers: true,
                bigNumberStrings: true
            },
            'pool': {
                max: 5,
                min: 0,
                idle: 10000
            },
            define: {
                underscored: true
            }
        }
	},
	
	redis: {
		host: '127.0.0.1',
		port: '6379',
		db : 0,
		password:''
	},
	wechat:{	
		corpId : '',
		corpSecret  : '',  
		agentId : '',
		encodingAESKey: "",
		checkSignature : true
	},
	redis_key:{
		wxs : "WXS_WX_MESSAGE",
	}
};
